package com.coding.dao;

import com.coding.pojo.WrongQuestion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WrongQuestionDao {
    int deleteByPrimaryKey(@Param("question_id") Integer question_id,@Param("user_id")Integer user_id);

    int insert(WrongQuestion record);

    int insertSelective(WrongQuestion record);

    List<WrongQuestion> selectByUser(@Param("user_id")int user_id);

    WrongQuestion selectByPrimaryKey(@Param("question_id") Integer question_id,@Param("user_id")Integer user_id);

    int updateByPrimaryKeySelective(WrongQuestion record);

    int updateByPrimaryKey(WrongQuestion record);
}